package com.xuecheng.content.model.dto;

import com.xuecheng.content.model.po.Teachplan;
import com.xuecheng.content.model.po.TeachplanMedia;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

import java.util.List;

@ToString
@ApiModel("课程计划查询返回的模型类")
public class TeachplanDto extends Teachplan {

  @ApiModelProperty("课程计划关联的媒资信息")
  TeachplanMedia teachplanMedia;

  @ApiModelProperty("子节点")
  List<TeachplanDto> teachPlanTreeNodes;

  public TeachplanMedia getTeachplanMedia() {
    return teachplanMedia;
  }

  public List<TeachplanDto> getTeachPlanTreeNodes() {
    return teachPlanTreeNodes;
  }

  public void setTeachplanMedia(TeachplanMedia teachplanMedia) {
    this.teachplanMedia = teachplanMedia;
  }

  public void setTeachPlanTreeNodes(List<TeachplanDto> teachPlanTreeNodes) {
    this.teachPlanTreeNodes = teachPlanTreeNodes;
  }
}